package com.gksc.video.enums;

/**
 * @className: VideoFormat
 * @description: 视频格式
 * @author: Liao.yx
 * @email: 1229053515@qq.com
 * @create: 2021年05月14日 17时47分
 * @copyRight: 2020 liaoyongxiang All rights reserved.
 **/
public enum VideoFormat {
    flv("flv", "rtmp格式"),
    h264("h264", "udp格式"),
    mpegts("mpegts", "未压缩的udp"),
    rawvideo("rawvideo", "无须解码直接显示");
    /**
     * 类型
     */
    private String code;
    /**
     * 说明
     */
    private String desc;

    VideoFormat(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }
}
